package com.campusify.pojo;

import java.io.Serializable;

public class Address implements Serializable {
    private Integer addressid;

    private Integer userid;

    private String username;

    private String receivername;

    private String receiverphone;

    private String addressdetail;

    private Integer isdelete;

    public Address() {
    }

    public Address(Integer addressid, Integer userid, String username, String receivername, String receiverphone, String addressdetail, Integer isdelete) {
        this.addressid = addressid;
        this.userid = userid;
        this.username = username;
        this.receivername = receivername;
        this.receiverphone = receiverphone;
        this.addressdetail = addressdetail;
        this.isdelete = isdelete;
    }

    /**
     * 获取
     * @return addressid
     */
    public Integer getAddressid() {
        return addressid;
    }

    /**
     * 设置
     * @param addressid
     */
    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    /**
     * 获取
     * @return userid
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * 设置
     * @param userid
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return receivername
     */
    public String getReceivername() {
        return receivername;
    }

    /**
     * 设置
     * @param receivername
     */
    public void setReceivername(String receivername) {
        this.receivername = receivername;
    }

    /**
     * 获取
     * @return receiverphone
     */
    public String getReceiverphone() {
        return receiverphone;
    }

    /**
     * 设置
     * @param receiverphone
     */
    public void setReceiverphone(String receiverphone) {
        this.receiverphone = receiverphone;
    }

    /**
     * 获取
     * @return addressdetail
     */
    public String getAddressdetail() {
        return addressdetail;
    }

    /**
     * 设置
     * @param addressdetail
     */
    public void setAddressdetail(String addressdetail) {
        this.addressdetail = addressdetail;
    }

    /**
     * 获取
     * @return isdelete
     */
    public Integer getIsdelete() {
        return isdelete;
    }

    /**
     * 设置
     * @param isdelete
     */
    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public String toString() {
        return "Address{addressid = " + addressid + ", userid = " + userid + ", username = " + username + ", receivername = " + receivername + ", receiverphone = " + receiverphone + ", addressdetail = " + addressdetail + ", isdelete = " + isdelete + "}";
    }
}